package id.net.iconpln.bb.server.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import id.net.iconpln.bb.server.dao.StockDao;
import id.net.iconpln.bb.server.service.StockService;
@Service
@Transactional(readOnly = true)
public class StockServiceImpl implements StockService{
	@Autowired private StockDao stockDao;
	
	@Override
	public List<Map> getListStock(String kode, Map map) {
		// TODO Auto-generated method stub
		return stockDao.getListStock(kode, map);
	}

	@Override
	public List<Map> insertStock(String kode, Map map) {
		// TODO Auto-generated method stub
		return stockDao.insertStock(kode, map);
	}

}
